package top.fzqblog.kotlinapp.model

/**
 * Created by 抽离 on 2017/11/19 0019.
 */

class CustResult {
    /**
     * asc : true
     * condition : {}
     * current : 1
     * limit : 2147483647
     * offset : 0
     * offsetCurrent : 0
     * openSort : true
     * optimizeCount : false
     * orderByField : null
     * pages : 2
     * records : [{"areaBegin":40,"areaEnd":80,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1501516800000,"createTimeString":"2017-08-01 00:00","createUserId":15264,"custId":"905974192190965786","custName":"客户1","dateString":null,"deptName":null,"district":null,"floorBegin":6,"floorEnd":12,"logContent":null,"logTime":1504195200000,"logTimeString":"2017-09-01跟进过","lookCount":1,"names":null,"orderBy":null,"priceBegin":30,"priceEnd":60,"reason":"结婚","remark":null,"roomBegin":1,"roomEnd":2,"roomRange":null,"rooms":null,"section":"联发欣悦学府","serviceUserId":15264,"status":"有效","tel":"13688880001","tels":null,"userName":null,"zone":"思明北路"},{"areaBegin":60,"areaEnd":80,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1501603200000,"createTimeString":"2017-08-02 00:00","createUserId":15264,"custId":"905974192190965787","custName":"客户2","dateString":null,"deptName":null,"district":null,"floorBegin":6,"floorEnd":12,"logContent":null,"logTime":1504281600000,"logTimeString":"2017-09-02跟进过","lookCount":2,"names":null,"orderBy":null,"priceBegin":40,"priceEnd":60,"reason":"结婚","remark":null,"roomBegin":1,"roomEnd":2,"roomRange":null,"rooms":null,"section":"国际山庄四期","serviceUserId":15264,"status":"有效","tel":"13688880002","tels":null,"userName":null,"zone":"鹭江道"},{"areaBegin":80,"areaEnd":100,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1501689600000,"createTimeString":"2017-08-03 00:00","createUserId":15264,"custId":"905974192190965788","custName":"客户3","dateString":null,"deptName":null,"district":null,"floorBegin":8,"floorEnd":20,"logContent":null,"logTime":1504368000000,"logTimeString":"2017-09-03跟进过","lookCount":3,"names":null,"orderBy":null,"priceBegin":60,"priceEnd":120,"reason":"结婚","remark":null,"roomBegin":2,"roomEnd":3,"roomRange":null,"rooms":null,"section":"华林前景城","serviceUserId":15264,"status":"有效","tel":"13688880003","tels":null,"userName":null,"zone":"莲前东路"},{"areaBegin":80,"areaEnd":100,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1501776000000,"createTimeString":"2017-08-04 00:00","createUserId":15264,"custId":"905974192190965789","custName":"客户4","dateString":null,"deptName":null,"district":null,"floorBegin":8,"floorEnd":20,"logContent":null,"logTime":1504454400000,"logTimeString":"2017-09-04跟进过","lookCount":4,"names":null,"orderBy":null,"priceBegin":60,"priceEnd":120,"reason":"结婚","remark":null,"roomBegin":2,"roomEnd":3,"roomRange":null,"rooms":null,"section":"古庄大溪地","serviceUserId":15264,"status":"有效","tel":"13688880004","tels":null,"userName":null,"zone":"禾祥东路"},{"areaBegin":80,"areaEnd":100,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1501862400000,"createTimeString":"2017-08-05 00:00","createUserId":15264,"custId":"905974192190965790","custName":"客户5","dateString":null,"deptName":null,"district":null,"floorBegin":8,"floorEnd":20,"logContent":null,"logTime":1504540800000,"logTimeString":"2017-09-05跟进过","lookCount":5,"names":null,"orderBy":null,"priceBegin":60,"priceEnd":120,"reason":"结婚","remark":null,"roomBegin":2,"roomEnd":3,"roomRange":null,"rooms":null,"section":"叉车厂宿舍","serviceUserId":15264,"status":"有效","tel":"13688880005","tels":null,"userName":null,"zone":"火车站"},{"areaBegin":80,"areaEnd":150,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1501948800000,"createTimeString":"2017-08-06 00:00","createUserId":15264,"custId":"905974192190965791","custName":"客户2","dateString":null,"deptName":null,"district":null,"floorBegin":10,"floorEnd":20,"logContent":null,"logTime":1504627200000,"logTimeString":"2017-09-06跟进过","lookCount":6,"names":null,"orderBy":null,"priceBegin":60,"priceEnd":120,"reason":"结婚","remark":null,"roomBegin":2,"roomEnd":4,"roomRange":null,"rooms":null,"section":"心悦园","serviceUserId":15264,"status":"有效","tel":"13688880006","tels":null,"userName":null,"zone":"莲花一村"},{"areaBegin":80,"areaEnd":150,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1502035200000,"createTimeString":"2017-08-07 00:00","createUserId":15264,"custId":"905974192190965792","custName":"客户7","dateString":null,"deptName":null,"district":null,"floorBegin":10,"floorEnd":20,"logContent":null,"logTime":1504713600000,"logTimeString":"2017-09-07跟进过","lookCount":7,"names":null,"orderBy":null,"priceBegin":60,"priceEnd":120,"reason":"结婚","remark":null,"roomBegin":2,"roomEnd":4,"roomRange":null,"rooms":null,"section":"磐金锦绣江南","serviceUserId":15264,"status":"有效","tel":"13688880007","tels":null,"userName":null,"zone":"湖滨北路"},{"areaBegin":80,"areaEnd":150,"asc":false,"avatarUrl":null,"bizType":"buy","cityId":15,"corpId":10827,"createTime":1502121600000,"createTimeString":"2017-08-08 00:00","createUserId":15264,"custId":"905974192190965793","custName":"客户8","dateString":null,"deptName":null,"district":null,"floorBegin":10,"floorEnd":20,"logContent":null,"logTime":1504800000000,"logTimeString":"2017-09-08跟进过","lookCount":8,"names":null,"orderBy":null,"priceBegin":60,"priceEnd":120,"reason":"结婚","remark":null,"roomBegin":2,"roomEnd":4,"roomRange":null,"rooms":null,"section":"旧莲岳里","serviceUserId":15264,"status":"有效","tel":"13688880008","tels":null,"userName":null,"zone":"厦禾路"},{"areaBegin":40,"areaEnd":80,"asc":false,"avatarUrl":null,"bizType":"findRent","cityId":15,"corpId":10827,"createTime":1501516800000,"createTimeString":"2017-08-01 00:00","createUserId":15264,"custId":"905974192190965796","custName":"客户11","dateString":null,"deptName":null,"district":null,"floorBegin":6,"floorEnd":12,"logContent":null,"logTime":1504195200000,"logTimeString":"2017-09-01跟进过","lookCount":1,"names":null,"orderBy":null,"priceBegin":500,"priceEnd":800,"reason":null,"remark":null,"roomBegin":1,"roomEnd":2,"roomRange":null,"rooms":null,"section":"禹洲花园","serviceUserId":15264,"status":"有效","tel":"13688880011","tels":null,"userName":null,"zone":"松柏"},{"areaBegin":60,"areaEnd":80,"asc":false,"avatarUrl":null,"bizType":"findRent","cityId":15,"corpId":10827,"createTime":1501603200000,"createTimeString":"2017-08-02 00:00","createUserId":15264,"custId":"905974192190965797","custName":"客户12","dateString":null,"deptName":null,"district":null,"floorBegin":6,"floorEnd":12,"logContent":null,"logTime":1504281600000,"logTimeString":"2017-09-02跟进过","lookCount":2,"names":null,"orderBy":null,"priceBegin":500,"priceEnd":800,"reason":null,"remark":null,"roomBegin":1,"roomEnd":2,"roomRange":null,"rooms":null,"section":"博士金海豪园","serviceUserId":15264,"status":"有效","tel":"13688880012","tels":null,"userName":null,"zone":"莲坂"}]
     * searchCount : true
     * size : 10
     * total : 16
     */

    var isAsc: Boolean = false
    var condition: ConditionBean? = null
    var current: Int = 0
    var limit: Int = 0
    var offset: Int = 0
    var offsetCurrent: Int = 0
    var isOpenSort: Boolean = false
    var isOptimizeCount: Boolean = false
    var orderByField: Any? = null
    var pages: Int = 0
    var isSearchCount: Boolean = false
    var size: Int = 0
    var total: Int = 0
    var records: List<RecordsBean>? = null

    class ConditionBean

    class RecordsBean {
        /**
         * areaBegin : 40
         * areaEnd : 80
         * asc : false
         * avatarUrl : null
         * bizType : buy
         * cityId : 15
         * corpId : 10827
         * createTime : 1501516800000
         * createTimeString : 2017-08-01 00:00
         * createUserId : 15264
         * custId : 905974192190965786
         * custName : 客户1
         * dateString : null
         * deptName : null
         * district : null
         * floorBegin : 6
         * floorEnd : 12
         * logContent : null
         * logTime : 1504195200000
         * logTimeString : 2017-09-01跟进过
         * lookCount : 1
         * names : null
         * orderBy : null
         * priceBegin : 30
         * priceEnd : 60
         * reason : 结婚
         * remark : null
         * roomBegin : 1
         * roomEnd : 2
         * roomRange : null
         * rooms : null
         * section : 联发欣悦学府
         * serviceUserId : 15264
         * status : 有效
         * tel : 13688880001
         * tels : null
         * userName : null
         * zone : 思明北路
         */

        var areaBegin: Int = 0
        var areaEnd: Int = 0
        var isAsc: Boolean = false
        var avatarUrl: Any? = null
        var bizType: String? = null
        var cityId: Int = 0
        var corpId: Int = 0
        var createTime: Long = 0
        var createTimeString: String? = null
        var createUserId: Int = 0
        var custId: String? = null
        var custName: String? = null
        var dateString: Any? = null
        var deptName: Any? = null
        var district: Any? = null
        var floorBegin: Int = 0
        var floorEnd: Int = 0
        var logContent: Any? = null
        var logTime: Long = 0
        var logTimeString: String? = null
        var lookCount: Int = 0
        var names: Any? = null
        var orderBy: Any? = null
        var priceBegin: Int = 0
        var priceEnd: Int = 0
        var reason: String? = null
        var remark: Any? = null
        var roomBegin: Int = 0
        var roomEnd: Int = 0
        var roomRange: Any? = null
        var rooms: Any? = null
        var section: String? = null
        var serviceUserId: Int = 0
        var status: String? = null
        var tel: String? = null
        var tels: Any? = null
        var userName: Any? = null
        var zone: String? = null

        override fun toString(): String {
            return "RecordsBean(areaBegin=$areaBegin, areaEnd=$areaEnd, isAsc=$isAsc, avatarUrl=$avatarUrl, bizType=$bizType, cityId=$cityId, corpId=$corpId, createTime=$createTime, createTimeString=$createTimeString, createUserId=$createUserId, custId=$custId, custName=$custName, dateString=$dateString, deptName=$deptName, district=$district, floorBegin=$floorBegin, floorEnd=$floorEnd, logContent=$logContent, logTime=$logTime, logTimeString=$logTimeString, lookCount=$lookCount, names=$names, orderBy=$orderBy, priceBegin=$priceBegin, priceEnd=$priceEnd, reason=$reason, remark=$remark, roomBegin=$roomBegin, roomEnd=$roomEnd, roomRange=$roomRange, rooms=$rooms, section=$section, serviceUserId=$serviceUserId, status=$status, tel=$tel, tels=$tels, userName=$userName, zone=$zone)"
        }

    }

    override fun toString(): String {
        return "CustResult(isAsc=$isAsc, condition=$condition, current=$current, limit=$limit, offset=$offset, offsetCurrent=$offsetCurrent, isOpenSort=$isOpenSort, isOptimizeCount=$isOptimizeCount, orderByField=$orderByField, pages=$pages, isSearchCount=$isSearchCount, size=$size, total=$total, records=$records)"
    }


}
